#include<iostream>
#include<string>
#include<map>
using namespace std;
//定义类型的别名 
//使用using更加直观
//typedef 旧类型名 新类型名
typedef int aaa;
typedef int (*func)(int, string);//定义函数指针类型，对应返回值是int 有两个参数int string 
//using 新类型=旧类型
using bbb = string;
using func1 = int (*)(int, string);//定义一个函数func1指针类型的别名 返回值为int 两个参数int string

template <class T>
class COntainer
{
public:
void print(T &t)
{
    aaa a = 10;                                                                                                                                                                                                                                                                         
    bbb b = "b";
    auto it = t.begin();
    for (; it != t.end();it++)
    {
        cout << it->first << "," << it->second << endl;
    }
}

private:
};
int mytest(int a,string b)
{
    cout << "a: " << a << ",b:" << b << endl;
    return 0;
}
int main ()
{
    func f = mytest;
    func1 f1 = mytest;
    f(10,"aaa");
    f1(20, "bbb");
    (*f)(10,"s");
    return 0;
}
